package org.mdrtwell.common.excel2db;

import org.mdrtwell.common.excel2db.service.ExcelException;
import org.mdrtwell.common.excel2db.service.LoadConfigException;
import org.mdrtwell.common.excel2db.service.support.ExcelDataService;

public class ExportExcelAction {
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		ExcelDataService service = null;
		try {
			service = new ExcelDataService("D:\\workspace223\\nmws\\src\\com\\cattsoft\\common\\excel2db\\xls2db-config.xml");
			service.execute("D:\\�����ĵ�\\testtest.xls");
		} catch (LoadConfigException e1) {
			e1.printStackTrace();
		} catch (ExcelException e) {
			e.printStackTrace();
		}
	}
}
